powered by
Extract Buffer Elements
# S3 method for shard_buffer [(x, i, j, ..., drop = TRUE)
A vector or array of values read from the buffer.
A shard_buffer object.
Index or indices.
Optional second index (for matrices).
Additional indices (for arrays).
Whether to drop dimensions.
# \donttest{ buf <- buffer("double", dim = 10) buf[1:5] <- 1:5 buf[1:3] buffer_close(buf) # }
Run the code above in your browser using DataLab